From: Florian Müllner Date: Mon, 25 May 2026 19:53:19 +0000 (+0200) Subject: loginDialog: Open session/a11y menu on either button X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dc6e371edf3309a479a80e32f98abf1e08ef8726;p=gnome-shell.git loginDialog: Open session/a11y menu on either button Users can choose whether the left or right mouse button acts as the primary one, however that setting isn't carried over to the login screen. As the secondary button is unused in that context anyway, most elements already accept either button. Do the same for the two remaining elements. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9243 Part-of: (cherry picked from commit 8f80504eca99e4191fbc5561abe65429e80a7d26) --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 9f8a3afc2..50f29f768 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -326,6 +326,7 @@ const SessionMenuButton = GObject.registerClass({ can_focus: true, accessible_name: _('Choose Session'), accessible_role: Atk.Role.MENU, + button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE, x_align: Clutter.ActorAlign.CENTER, y_align: Clutter.ActorAlign.CENTER, }); @@ -419,6 +420,7 @@ class A11yMenuButton extends St.Button { icon_name: 'org.gnome.Settings-accessibility-symbolic', accessible_name: _('Accessibility'), accessible_role: Atk.Role.MENU, + button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE, can_focus: true, });